package com.test.ml.yqs.service;

import com.test.ml.yqs.entity.User;
import com.test.ml.yqs.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 马亮
 * @version V1.0
 * @Description: TODO
 */
@Service
public class UserService {


    @Autowired
    private UserMapper userMapper;

    public User findByAcount(String userAcount) {
        return userMapper.findByAcount(userAcount);
    }

    public List<String> findPermissions(User user) {
        return null;
    }
}